package com.achievement.mapper;

import com.achievement.domain.entity.ExpertReviewEntity;
import com.achievement.domain.vo.honor.ExpertGroupVO;
import com.achievement.domain.vo.honor.AchievementExpertVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public interface ExpertReviewMapper extends BaseMapper<ExpertReviewEntity> {
    List<ExpertGroupVO> expertGroupList();

    /**\
     * 根据分组ID获取该分组下所有专家
     * @param id
     * @return
     */
    List<AchievementExpertVO> expertListByGroup(@Param("id") String id);

    List<ExpertReviewEntity> expertReviewMarkListByReviewerIdReviewObjectIds(@Param("reviewerId") String reviewerId, @Param("reviewObjectIds") List<String> reviewObjectIds);
}
